<%@ page language="java" pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
<style>
.pageFormContent label{width: 100px;}
.pageFormContent p{width: 95%;}
span.error{left: 280px;}
</style>
<div class="pageContent">
	<form method="post" action="updateColor?callbackType=closeCurrent" class="pageForm required-validate" onsubmit="return validateCallback(this, dialogAjaxDone);">
		<input type="hidden" name="colorId" value="${color.id }" />
		<div class="pageFormContent" layoutH="58">
			<p>
			</p>
			<p>
			    <label>颜色名称：</label>
			    <input type="text" size="26" maxlength="16" class="required" name="colorName" value="${color.colourName }" />
			    <input type="hidden" maxlength="16" name="oldColorName" value="${color.colourName }" />
			</p>
		</div>
		<div class="formBar">
			<ul>
				<li><div class="buttonActive"><div class="buttonContent"><button type="submit">保存</button></div></div></li>
				<li>
					<div class="button"><div class="buttonContent"><button type="button" class="close">取消</button></div></div>
				</li>
			</ul>
		</div>
	</form>
</div>
